<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<table width="100%" style="margin: auto;text-align:center;" >  
	<tr class="title-content" >
		<td colspan="3"><h2>Sản Phẩm Bán Chạy</h2></td>
	</tr>
<s:iterator value="salestproducts" status="product" >
<s:if test="#product.index==0 || #product.index==3" >	
	${"<tr>"}
</s:if>
		<td>
			<table width="100%" style="border-right:dotted 1px white;border-bottom:dotted 1px white;">
				<tr>
					<td><br/><br/><img src='<s:property value="imageUrl" />' width="200px" height="250px"/></td>
				</tr>
				<tr>
					<td><b><s:property value="productName" /></b></td>
				</tr>
				<tr>
					<td><b><s:property value="productSerial" /></b><br/></td>
				</tr>
			</table>
		</td>
		 
<s:if test="#product.index==2 || #product.index==5" >			
	${"</tr>"}
</s:if>

</s:iterator>
</table>
<br/><br/><br/>